BoltCheckout\Bolt_Checkout D

Total Complexity 285
Dependencies 17
Dependents 1
Total lines 2,153
Lines of code 1,207
Logical lines of code 664
Comment lines 689
Methods 63
Properties 8

Methods 63

Method Rating Maintainability Complexity Lines of code
do_checkout_validation()
B
38 18 65
process_checkout_pre_auth()
B
35 14 86
save_order_non_pre_auth()
A
39 15 60
process_checkout_non_pre_auth()
A
39 14 62
set_post_array_from_bolt_transaction()
A
40 10 57
compare_cart_discount_data_with_bolt_data()
A
43 9 47
recalculate_order_shipping()
A
48 9 31
check_if_order_exists_by_order_reference_and_shipping()
A
42 7 55
save_non_bolt_order()
A
46 8 39
check_if_user_just_created()
A
50 8 27
check_if_shipping_changed()
A
44 7 40
get_billing_address()
A
55 8 20
get_shipping_address()
A
58 8 16
acquire_order_creation_lock()
S
52 7 25
destroy_bolt_order_details_unique_data()
S
52 7 24
process_order_payment()
S
53 6 22
save_email()
S
54 6 21
compare_cart_shipping_data_with_bolt_data()
S
53 6 21
validate_address_in_posted_data()
S
55 6 19
save_transaction_non_pre_auth()
S
48 5 32
handle_shipping_method()
S
60 6 13
save_transaction()
S
58 5 16
check_if_duplicate_order()
S
59 5 14
process_order_without_payment()
S
51 4 26
prepare_posted_data()
S
54 4 21
enqueue_bolt_scripts()
S
53 4 20
process_pay_invoiceemail()
S
56 4 18
get_tax_total_by_bolt_transaction()
S
66 5 9
before_validate_checkout()
S
60 4 13
check_if_need_override_shipping()
S
63 4 11
cancel_unpaid_order()
S
62 4 11
compare_with_bolt_data_before_order_creation()
S
64 4 10
save_order_pre_auth()
S
61 3 13
process_hooks_after_order_creation()
S
56 2 19
compare_cart_tax_data_with_bolt_data()
S
56 2 17
init_hooks()
S
50 1 31
create_redirect_url()
S
65 3 9
remove_cancel_action()
S
63 3 10
save_transaction_pre_auth()
S
59 2 14
compare_cart_totals_with_bolt_data()
S
59 2 13
recalculate_order_tax()
S
60 2 12
instance()
S
70 2 7
save_order()
S
66 2 9
setup_common_data()
S
68 2 7
simulate_native_wc_post_data()
S
73 2 5
get_order_shipping_method()
S
66 2 9
set_order_customer_note()
S
74 2 5
get_bolt_order_total()
S
75 2 4
process_checkout()
S
70 2 7
empty_wp_rocket_cache()
S
75 2 5
extract_order_changes()
S
67 2 8
record_frontend_error()
S
70 2 5
save_bolt_transaction_order()
S
72 2 5
set_error_handler()
S
81 1 3
__construct()
S
76 1 4
reset()
S
71 1 6
update_order_for_saving_transaction()
S
73 1 6
calculate_order_price_difference()
S
74 1 4
send_order_price_difference_to_bugsnag()
S
73 1 4
finish_order_creation_asynchronously()
S
78 1 4
add_order_number_to_display_id()
S
72 1 5
get_bolt_transaction()
S
81 1 3
release_order_creation_lock()
S
79 1 3